﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wucDatePicker.ascx.cs" Inherits="Controls_wucDatePicker" %>
<table>
    <tr>
        <td>
            <asp:DropDownList ID="ddlMonth" runat="server" AutoPostBack="true" 
                OnSelectedIndexChanged="Month_Changed"></asp:DropDownList>
        </td>
        <td>
            <asp:DropDownList ID="ddlYear" runat="server" AutoPostBack="true" 
                OnSelectedIndexChanged="Year_Changed"></asp:DropDownList>
        </td>
        <td>
            <asp:DropDownList ID="ddlDay" runat="server" AutoPostBack="true" 
                OnSelectedIndexChanged="Day_Changed"></asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td colspan="3">
            <asp:CustomValidator ID="cuvDateValidator" runat="server" Display="Dynamic">
                <asp:Image ID="imgErrorImage" ImageAlign="AbsMiddle" runat="server" AlternateText="error" />
                <asp:Label ID="lblErrorMessage" runat="server"></asp:Label>
            </asp:CustomValidator>
        </td>
    </tr>
</table>